package net.kleinhenz.droidshop.system;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class PersistenceConfiguration {

	protected static final EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory(ApplicationConfiguration.getConfiguration(ApplicationConfiguration.KEY_PERSISTENCEUNIT));

    public static EntityManagerFactory getEntityManagerFactory() 
    {
        return entityManagerFactory;
    }
}
